package com.xmg.shop.api.service;

import com.xmg.shop.api.domain.ProductImage;

import java.util.List;

/**
 * Created by lenovo on 2017/11/16.
 */
public interface IProductImageService {
    int deleteByPrimaryKey(Long id);

    int save(ProductImage record);

    ProductImage selectByPrimaryKey(Long id);

    List<ProductImage> selectAll();

    List<ProductImage> getImageByProductId(Long productId);
}
